package com.guan.system.domain.question.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.ToString;

@JsonSerialize
@ToString
@Data
public class QuestionDetailVO {

    /**
     * 题目id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;

    /**
     * 题目标题
     */
    private String title;

    /**
     * 题目难度1:简单  2：中等 3：困难
     */
    private Integer difficulty;

    /**
     * 时间限制
     */
    private Integer timeLimit;

    /**
     * 空间限制
     */
    private Integer spaceLimit;

    /**
     * 题目内容
     */
    private String content;

    /**
     * 题目用例
     */
    private String questionCase;

    /**
     * 默认代码块
     */
    private String defaultCode;

    /**
     * main函数
     */
    private String mainFunc;
}
